package Depuracion;
//30
public class P01 {
	public static void main(String[] args) {
		new P01();
	}

	public P01() {
		f();
	}

	private void f() {
		for (int i = 1; i < 100; i++) {
			for (int j = (i % 5 == 0 ? i : 0); j < 100; j += 5) {
				g(i + j);
			}
		}
	}

	private void g(int i) {
		int x = 10;
		if (i < 10) {
			x += 100;
		} else if (i >= 10 && i < 50) {
			x -= 50;
		}
		x *= 3;
		System.out.println(x);
	}
}